package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.data.redis.core.RedisKeyValueAdapter;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@EnableAspectJAutoProxy
@CrossOrigin(origins = "*",allowCredentials = "true")
@MapperScan("com.mapper")
public class JuJiaoYouApplication {
    public static void main(String[] args) {
        SpringApplication.run(JuJiaoYouApplication.class, args);
    }
}
